package com.example.employeemanagement.service;

import com.example.employeemanagement.dto.GetEmployeeById;
import com.example.employeemanagement.dto.InfoDto;
import com.example.employeemanagement.entry.Employee;
import java.util.List;
import java.util.Optional;

public interface EmployeeService {
    List<Employee> getAllEmployees();
    String addEmployee(Employee employee);
    Optional<GetEmployeeById> getEmployeeById(Integer id);
    String updateEmployee(Integer id, Employee updatedEmployee);
    String deleteEmployee(Integer id);
    InfoDto getEmployeeInfo(String token);
}